package com.zhuss.bean.bo.order.order;

import java.io.Serializable;

import com.zhuss.common.BaseBo;
import com.zhuss.common.IdBo;


public class WxRefundBo extends IdBo  implements Serializable, BaseBo {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2979912835014289272L;
	
	private String appId;
	
	private String mchId;
	
	private String key;
	
	private String nonceStr;

	private String orderNo;
	
	private String orderRefundNo;
	
	private Long totalFee;
	
	private Long applyRefundFee;
	
	public WxRefundBo buildAppId(String appId) {
		this.appId = appId;
		return this;
	}
	
	public WxRefundBo buildMchId(String mchId) {
		this.mchId = mchId;
		return this;
	}
	
	public WxRefundBo buildKey(String key) {
		this.key = key;
		return this;
	}
	
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	
	public String getKey() {
		return key;
	}
	
	public void setKey(String key) {
		this.key = key;
	}

	public String getNonceStr() {
		nonceStr = (long)(Math.random() * 2000000000000000000L) + "";
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOrderRefundNo() {
		return orderRefundNo;
	}

	public void setOrderRefundNo(String orderRefundNo) {
		this.orderRefundNo = orderRefundNo;
	}

	public Long getTotalFee() {
		return totalFee;
	}
	
	public void setTotalFee(Long totalFee) {
		this.totalFee = totalFee;
	}

	public Long getApplyRefundFee() {
		return applyRefundFee;
	}

	public void setApplyRefundFee(Long applyRefundFee) {
		this.applyRefundFee = applyRefundFee;
	}
    
}